extend ./_part/_layout

block content
  +php('get_sidebar()')
  .primary
    +if('have_posts()')
      ul.postList
        +postloop()
          li
            h2: a(href!='<?php the_permalink(); ?>' title!="<?php the_title(); ?>")
              +php('the_title()')
              small: +php('echo zz_time()')
            .entry: +php().
              the_excerpt();
      +php().
        the_posts_pagination( array('screen_reader_text' => '列表翻页', 'prev_text' => '上一页', 'next_text' => '下一页') );
      +else()
        php("get_template_part( 'content', 'none' )")

